﻿<%@ Page Title="Queue (External View)”:" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true"
    CodeBehind="ExteralQueueList.aspx.cs" Inherits="SAP.ExteralQueueList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <script type="text/javascript">
        Main.myUpdatePanelId = '<%= SalesOpportunityUpdatePanel.ClientID %>';
    </script>
    <asp:UpdatePanel ID="SalesOpportunityUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="contentData" style="padding-left: 15px;">
                <div id="title-form" style="border-bottom: 2px solid black;">
                    <h2 style="font-size: small">Queue (External View)”:</h2>
                </div>
                <div id="header-form">
                    <div style="width: 418px; height: 41px;">
                        <table >
                            <tr>
                            <td>
                                    <asp:CheckBox ID="CheckBox1" runat="server" Text="Auto Refresh" /></td>
                                <td>
                                    
                                    <asp:Button ID="btnFilterMyTS" runat="server" Height="31px" Text="Refresh" 
                                        Width="60px" onclick="btnFilterMyTS_Click" />
                                </td>
                                
                            </tr>
                            
                        </table>
                    </div>
                </div>
                <br />
                <br />
                <div ID="tabs-1" style="overflow: auto; height: 497px; margin-top: 0px;">
                    <asp:ListView ID="lvQueue" runat="server">
                        <LayoutTemplate>
                            <table class="data_table">
                                <tr>
                                    <th style="width: 90px">
                                        <span>Queue #</span>
                                    </th>
                                    <th style="width: 120px">
                                        <span>Appointment Time</span>
                                    </th>
                                    <th style="width: 150px">
                                        <span>Doctor</span>
                                    </th>
                                </tr>
                                <tr ID="itemPlaceholder" runat="server">
                                </tr>
                            </table>
                        </LayoutTemplate>
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <asp:Label ID="Date" runat="server"><%#Eval("ClgCode")%></asp:Label>
                                </td>
                                
                                
                                <td style="text-align: left">
                                    <asp:Label ID="PrjName" runat="server"><%#Eval("CntctTime")%></asp:Label>
                                </td>
                                <td style="text-align: left">
                                    <asp:Label ID="Task" runat="server"><%#Eval("AttendEmpl")%></asp:Label>
                                </td>
                                
                            </tr>
                        </ItemTemplate>
                        <EmptyDataTemplate>
                            <table class="data_table">
                                <tr>
                                    <th>
                                        <span>Queue #</span>
                                    </th>
                                    <th>
                                        <span>Appointment Time</span>
                                    </th>
                                    <th>
                                        <span>Doctor</span>
                                    </th>
                                    
                                </tr>
                                <tr>
                                    <td colspan="3">
                                        <span>No Data</span>
                                    </td>
                                </tr>
                            </table>
                        </EmptyDataTemplate>
                    </asp:ListView>
                    
                </div>
                <div id="footer-form">
                    <div class="left">
                    </div>
                    <div class="clear">
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
